﻿using System.Collections.Generic;
using System.Net.Http;

namespace D.ATN
{
    /// <summary>
    /// 全局
    /// </summary>
    public static class ServiceLocator
    {
        public static List<string> ChamberList = new List<string>() { "A", "B", "C", "D" };
        public static List<string> ProductList = new List<string>()
        {
            "AME-PLY-QC.00","WUM-PLY-QC.00","CAE-PLY-QC.00","POD-PLY-QC.00","UUO-PLY-QC.00","WEM-PLY-QC.00","IOD-PLY-QC.00","CIE-PLY-QC.00","ADC-PLY-QC.00","EMF-PLY-QC.00"
        };
        public static List<string> DcItemList = new List<string>() { "ADT", "DRM", "BOS1", "CD22P1", "CD43P1", "CD44P1", "CD36P1", "T4GOF", "T1F1", "OAX", "OAY", "160NM", "RDS1", "T1F1_D01", "A1UM", "A500NM", "T1B1", "1UMC", "ATUC", "120NM", "T2GOF", "A80NMC", "T3GOF", "CD41P1", "CD42P1", "T4F1", "T1CORX", "T1CORY", "CD1P1", "ADRDM", "80NMC", "A80NM", "CD20P1", "CD30P1", "CD31P1", "CD23P1", "CD17P1", "CD45P1", "CD27P1", "CD39P1", "RDM", "ARDM", "ADTUC", "RANDOM", "TSX", "TMY", "T1FGOF", "T1K1", "RXX", "RYX", "RSY", "CD3P1", "CD16P1", "CD18P1", "CD29P1", "T5GOF", "T1GOF", "INS1", "TOT", "RSCORY", "1UM", "AT", "500NMC", "FOCUS", "CD10P1", "T2F2", "T1F2", "CD32P1", "CD24P1", "CD35P1", "CD46P1", "CD19P1", "T1DEPTH", "PAC", "MSX", "A160NM", "RSCORX", "ATD", "TOTUC", "A120NMC", "TSY", "T2F1", "CD6P1", "T3F1", "CD14P1", "CD34P1", "CD28P1", "T5F1", "QUS1", "DT", "A1UMC", "ATDUC", "A120NM", "NPS1", "CD7P1", "CD8P1", "CD9P1", "RSX", "CD4P1", "CD5P1", "CD11P1", "CD21P1", "CD12P1", "CD13P1", "CD15P1", "CD25P1", "CD37P1", "MSY", "T1N1", "REFS1", "DTUC", "A500NMC", "80NM", "500NM", "RDS1_D01", "120NMC", "V1UM", "TOTAL", "TMX", "CD2P1", "CD40P1", "CD33P1", "CD26P1", "CD38P1" };
        public static string SPC_LOGIN_URL = "spcpg/api/Login/Login";
        public static string SPC_CREATE_RT_JOB_URL= "spcpg/api/Job/SubmitJob";
        public static string SPC_RT_CHECK_URL = "spcpg/api/RTService/SpcCheck";

        public static string SPC_CREATE_NON_RT_JOB_URL = "mycim-spc-service/v1/rt-job/add";
        public static string SPC_RT_NON_CHECK_URL = "mycim-spc-service/v1/rt-job/add";

        public static int TimeOut { get; set; }
        public static HttpClient Client { get; set; }

        public static string Name = null;

        public static IFreeSql SpcFreeSql = null;
        public static IFreeSql MesFreeSql = null;
        public static IFreeSql MySqllite = null;
    }
}
